package com.service.admin.merchant.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.admin.merchant.controller.rep.CreditLineStatementPageRep;
import com.service.admin.merchant.controller.rep.MemberCreditLineRep;
import com.service.admin.merchant.controller.req.CreditLineUpdateBalanceReq;
import com.service.core.rest.request.PageRequest;
import com.service.core.rest.response.CommonPageRep;
import com.service.dao.enums.CoinsEnum;
import com.service.dao.model.MerchantCreditLine;

import java.util.List;


/**
 * 商家信用额度
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2020-04-01 20:13:14
 */
public interface MerchantCreditLineService extends IService<MerchantCreditLine> {

    List<MemberCreditLineRep> merchantCreditLine(Integer merchantId);

    CommonPageRep<CreditLineStatementPageRep> pageStatement(Integer merchantId, CoinsEnum coins, PageRequest pageRequest);

    void updateBalance(CreditLineUpdateBalanceReq updateBalanceReq);


}

